Skip to content

fix(reports): the agreement is signed for the authors, and a report's texts name only the registrars it is sent to - #1691

Merged
sickerine merged 2 commits into
devfrom
fix/agreement-signer-authority
Dec 1, 2026
Merged

sickerine merged 2 commits into
devfrom
fix/agreement-signer-authority

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Two walkers who published for their organisation could not sign the agreement in good faith: it called the signer "the Author". A report that gets only a DOCiD was also promised a DOI in three clauses, and "Who gets the file" named Zenodo where Zenodo is off. Part of the workspace publishing milestone (OS-37).

The agreement

  • The first party is now the work's authors, with the person signing named beside them: "The author or authors of the Work (the “Author”), for whom [name of the person signing] signs. The person signing is an author, or has the authors’ authority to sign, and confirms that every author agrees". The owner approved this wording.
  • The tick box reads "I agree to this agreement for the report's authors, who have all agreed. I am one of them, or they asked me to sign", and its help note says the same. All 13 languages.
  • Clauses 2.3, 6.1 and 6.3 name the identifier the report gets through a new blank, [DOI or DOCiD]. It reads DOCiD only for a report that registers with DOCiD and with neither Crossref nor Zenodo.
  • Clause 4.1 ("has not been published elsewhere with a DOI") stays as it is.
  • An agreement signed under an older version still names its signer as the Author.
  • Saved texts take both changes through migrations/seriesWords, as a new version each. Text an admin reworded is left alone, and a second run changes nothing.

Who gets the file

Public, From a date and the prompt that confirms a change on a live report name Zenodo and Crossref only for a report sent to them. Private and Openscholar readers are held back today, so their texts are left, with a comment that says so.

Checks

  • npx tsc --noEmit, npm run check:ui-rules
  • npx vitest run lib/reports/agreement.test.ts convex/migrations/seriesWords.test.ts: 14 passed
  • The three file access texts formatted in 13 languages with every value through intl-messageformat
  • Cross-family review: one finding, fixed (a report Crossref alone registers was told nothing is updated)

After merge

Run npx convex run migrations/seriesWords:run on dev, and on prod when it is promoted.

… texts name only the registrars it is sent to

The agreement's first party is the work's authors, with the person signing named beside them: an author, or someone
with the authors' authority. The tick box and its help say the same in all 13 languages. Three clauses name the
identifier the report gets (`[DOI or DOCiD]`), so a report that gets only a DOCiD is promised no DOI. Saved texts
take both through migrations/seriesWords, as a new version each.

Who gets the file names Zenodo and Crossref only for a report sent to them: Public, From a date and the prompt that
confirms a change on a live report.
…says Crossref is updated for a report it alone registers
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 336dced1-8975-407b-b846-9a71e3fde44b
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T18:18:31.993676Z 00ce84a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sickerine
sickerine merged commit 773fe44 into dev Dec 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant